#pragma once

#include "session.h"
#include "../../common/ithread/imutex.h"

#include <list>
#include <string>
using namespace std;

class SessionManager
{
public:
	SessionManager();
	~SessionManager();

	void OnSessionStarted(int type);
	void OnSessionEnded();

private:
	IMutex sess_mutex_
	list<Session*> sess_list_;
};